import unittest
from test04_tools import add


class TestAdd(unittest.TestCase):
    def test_1(self):
        if 2 == add(1, 1):
            print(f'用例{1}: {1},{1}通过')
        else:
            print(f'用例{1}: {1},{1}不通过')
    def test_2(self):
        if 4 == add(1, 3):
            print(f'用例{2}: {1},{3}通过')
        else:
            print(f'用例{2}: {1},{3}不通过')
    def test_3(self):
        if 5 == add(1, 5):
            print(f'用例{3}: {1},{5}通过')
        else:
            print(f'用例{3}: {1},{5}不通过')
    def test_4(self):
        if 10 == add(4, 6):
            print(f'用例{4}: {4},{6}通过')
        else:
            print(f'用例{4}: {4},{6}不通过')